package com.abl.consumer.api;

import com.abl.consumer.fallback.EchoFallBack;
import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "service-provider")
public interface ProviderApi {

    @RequestMapping(value = "/provider/add/{string}")
    String providerAdd(@PathVariable("string") String string);

    @RequestMapping(value = "/provider/sub/{string}")
    String providerSub(@PathVariable("string") String string);


}
